/*
 * @Descripttion: 组件业务名
 * @version:
 * @Author: lhl
 * @Date: 2024-11-18 13:00:04
 * @LastEditors: lhl
 * @LastEditTime: 2024-11-18 23:15:08
 */
import React from 'react';
import { Layout, Space } from 'antd';
import BreadCrumb from '../BreadCrumb';
import TabsView from './TabsView';
import styles from './index.module.less';

const { Header } = Layout;

const AppHeader: React.FC = () => {
  return (
    <Header className={styles.header}>
      <div className={styles.left}>
        <BreadCrumb />
      </div>
      <div className={styles.right}>
        <Space>
          <span className={styles.username}>admin</span>
          <span className={styles.switch}>主题切换</span>
        </Space>
      </div>
      <TabsView />
    </Header>
  );
};

export default AppHeader;
